package cn.tb.org.mapper;

import cn.tb.basic.mapper.BaseMapper;
import cn.tb.org.domain.DictionaryDetail;
import cn.tb.org.domain.DictionaryType;
import cn.tb.org.query.DictionaryDetailQuery;
import cn.tb.org.query.DictionaryTypeQuery;

import java.util.List;

public interface DictionaryDetailMapper extends BaseMapper<DictionaryDetail> {
    /**
     * 基于types_id删除
     */
    void deleteByTypes_id(Long types_id);

    List<DictionaryDetail> loadByTypeId(DictionaryDetailQuery query);
}
